
import { Provider } from 'react-redux';
import { navigateTo, switchTab, onThemeChange, getSystemInfo } from '@tarojs/taro';
import store from './store';
import { getToken } from './utils/auth';
import React, { useState, useEffect } from 'react';
import { useAsyncEffect } from 'ahooks';
import './assets/iconfont/iconfont.css';
import './app.less';



function App({ children }) {

  return (
    <Provider store={store}>
      {children}
    </Provider>
  );

}



export default App
